package com.eqs.enterprisequestionnaire.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.eqs.enterprisequestionnaire.model.pojo.Option;
import com.eqs.enterprisequestionnaire.model.pojo.Question;
import com.eqs.enterprisequestionnaire.model.pojo.User;
import org.jetbrains.annotations.NotNull;

import java.util.Date;
import java.util.List;

public interface QuestionService extends IService<Question> {
     Question getQuestionAfterCreat(Question question);
     void insertQuestion(Integer questionnaireId, String type,String content);
     Question selectByQuestionId(Integer questionId);
     void updateQuestion(@NotNull Question qusetion);
     void deleteQuestion(Integer questionId);
     List<Option> displayOption(Question question);
}
